package com.xiaozhen.auth.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * HISTORY
 *
 * @author zhenweisheng
 * @date 2021/9/26 16:20
 * @description:
 */

@Controller
public class BaseMainController {

    @GetMapping("/auth/login")
    public String loginPage(Model model) {

        model.addAttribute("loginProcessUrl", "/auth/authorize");

        return "base-login";
    }
}
